package com.guodi.model.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guodi.model.entity.IdtFillTaskMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
* 指标填报任务消息表  Mapper 接口
* @author lzy
* @date 2023-05-10
*/
public interface IdtFillTaskMessageMapper extends BaseMapper<IdtFillTaskMessage> {

    IPage<IdtFillTaskMessage> fillTaskMessages(@Param("page") Page page, @Param("regionCode") String regionCode, @Param("resolved")String resolved);

    Integer messageCount(@Param("regionCode") String regionCode,@Param("resolved") String resolved);

    List<String> toUrgingTask(@Param("regionCode")String regionCode);

    List<String> alreadyUrgingTask(@Param("regionCode")String regionCode,@Param("type") String type,@Param("resolved") String resolved);
}
